//
//  LLVerticalScrollADView.h
//  ProtocolTest
//
//  Created by admin on 2020/1/7.
//  Copyright © 2020 LG. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LLVerticalScrollADView;

@protocol LLVerticalScrollADViewDataSource <NSObject>

@required
///设置数据
- (void)setupData:(id _Nullable )data;

@end

@protocol LLVerticalScrollADViewDelegate <NSObject>

@required
///设置view
- (UIView<LLVerticalScrollADViewDataSource> * _Nullable )createADViewWithVerticalScrollADView:(LLVerticalScrollADView *)scrollADView;

@end

NS_ASSUME_NONNULL_BEGIN

@interface LLVerticalScrollADView : UIView


- (instancetype)initWithFrame:(CGRect)frame datasArray:(nullable NSArray *)datasArray delegate:(id<LLVerticalScrollADViewDelegate>)delegate;

- (void)setupDatasArray:(NSArray *)datasArray;



@end

NS_ASSUME_NONNULL_END
